<%@page import="com.tubeonfire.util.DateHelper"%>
<%@page import="com.tubeonfire.entity.Feedback"%>
<%@page import="com.ckeditor.CKEditorConfig"%>
<%@page import="com.tubeonfire.entity.Page"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	Feedback obj = (Feedback)request.getAttribute("obj");		
%>
<jsp:include page="/admin/elements/header.jsp">
	<jsp:param value="Feedback Detail" name="title"/>
</jsp:include>
<script type="text/javascript" src="/admin/js/mine/admin.js"></script>
	<body class="loggedin">
		<jsp:include page="/admin/elements/top.jsp"/>
	    <!-- START OF MAIN CONTENT -->
	    <div class="mainwrapper">
	     	<div class="mainwrapperinner">         	        
				<jsp:include page="/admin/elements/left.jsp">
					<jsp:param value="page" name="current_page"/>
				</jsp:include>					              	                   
	        	<div class="maincontent noright">
	        		<%
	        			if(obj!=null){
	        		%>
	        		<div class="maincontentinner">	            	
		                <ul class="maintabmenu">
		                	<li><a href="/admin/feedback/list">Manage Feedback</a></li>
		                    <li><a href="/admin/feedback/list?status=1">New Feedback</a></li>
		                    <li class="current"><a href="/admin/feedback/view?id=<%=obj.getId()%>">View Feedback</a></li>		    
		                </ul><!--maintabmenu-->	                
	                	<div class="content">	
		                	<jsp:include page="/admin/elements/message.jsp"/>
		                	<div id="messageDiv" class="notification hidden">						   
							    <p></p>
							</div>	   	                    	                    	
		                    <div class="one">
		                    	<p>
	                    			From : <%=obj.getName() %> (<%=obj.getEmail() %>)
	                    		</p>
	                    		<p>
	                    			<%=DateHelper.dateToString(obj.getDoc(), "MM/dd/yyyy hh:mm:ss") %>
	                    		</p>
	                    		<br>
                    			<h3><%=obj.getTitle()%></h3>
	                        	<br>
	                    		<p>
	                    			<%=obj.getMessage() %>
	                    		</p>
	                    	</div>   
	                    	<br/>
	                    	<p>
	                    		<a class="stdbtn" href="javascript:history.back()" style=" ">Back</a>		                    		
	                    	</p>	                   	                         			                    	                   
	                </div><!--content-->	                
	            </div><!--maincontentinner-->
	            <%
	        			}
	            %>
				<jsp:include page="/admin/elements/bottom.jsp"></jsp:include>                    	           	
	        </div><!--maincontent-->	                        
	     	</div><!--mainwrapperinner-->
	    </div><!--mainwrapper-->
		<!-- END OF MAIN CONTENT -->    
	</body>
</html>
